<%@ page language="java" contentType="text/html;charset=UTF-8"
   	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<link rel="stylesheet" href="css/loginstyle.css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>User Login</title>
<link rel="stylesheet" href="css/index.css">
<script type="text/javascript" src="javascript/action_script.js">
</script>
</head>
<body class="body">
<table border="0" width="100%" height="100%" align="center">
	<tr height="100%" valign="middle" align="center">
		<td valign="middle">
			<form name="Login" action="admin_login.html" method="post" onsubmit="return login();">
			<table cellpadding="0" cellspacing="0" border="0" height="250" width="450">
				<tr><td colspan="2" height="40" bgcolor="#55A6DD" style="font-size: 16px;font-weight: bold; color: #444;">&nbsp;Administrator Login</td></tr>
				<tr>
					<td class="lockImage" width="120">&nbsp;</td>
					<td width="330"  class="loginContent" valign="top">
						<table cellpadding="0" border="0" cellspacing="0" class="loginLeft" width="100%">
							<tr><td colspan="3" height="10"> </td></tr>
							<tr>
								<td align="left" colspan="3" style="font-size: 12px; color: #333;">Use the correct User Name and Password to log into your admin account 
								</td>
							</tr>
							<tr><td colspan="3" height="5">&nbsp; </td></tr>
							<tr>
								<td width="100">User Name :</td>
								<td width="120"><input type="text" name="username" id="username" class="loginBox" /></td>
								<td width="80">&nbsp;</td>
							</tr>
							<tr><td colspan="3" height="10"> </td></tr>
							<tr>
								<td>Password :</td>
								<td><input type="password" name="password" id="password" class="loginBox" /></td>
								<td></td>
							</tr>
							<tr><td colspan="3" height="10"> </td></tr>
							<tr>
								<td></td>
								<td align="center"><input type="submit"​ class="input_button" value="Login"/></td>
								<td></td>
							</tr>
							<tr><td colspan="3" height="10"> </td></tr>
							<c:if test="${fn:length(error)>0}">
								<tr><td colspan="3"  class="errorMessage"><c:out value="${error}"></c:out></td></tr>
								<tr><td colspan="3" height="10">&nbsp;</td></tr>
							</c:if>
							<tr>
								<td align="left" colspan="3" style="padding-left:15px"></td>
							</tr>
							<tr><td colspan="3" height="10"> </td></tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
		</td>
	</tr>
</table>
</body>